package com.sinbad.produce;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author: sinbad
 * @time: 2021/9/30
 * @description：
 */
//@EnableApolloConfig
@EnableRabbit
@SpringBootApplication
@ComponentScan(basePackages = {"com.sinbad"})
public class ProduceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProduceApplication.class, args);
        System.err.println("生产模块启动成功~~");
    }
}
